package com.cnap.multiclouldmgmt.model.alg;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * <类文件描述>
 *
 * @author xc
 **/
public class RequestForCPU {
    @JsonProperty(value = "user_threshold_list")
    private List<Double> userThresholdList;
    @JsonProperty(value = "node_name")
    private String nodeName;
    @JsonProperty(value = "cluster_name")
    private String clusterName;
    // service node
    @JsonProperty(value = "type")
    private String type;

    /**
     * get
     *
     * @return NodeName
     */
    public String getNodeName() {
        return nodeName;
    }

    /**
     * set
     *
     * @param nodeName nodeName
     */
    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    /**
     * get
     *
     * @return ClusterName
     */
    public String getClusterName() {
        return clusterName;
    }

    /**
     * set
     *
     * @param clusterName clusterName
     */
    public void setClusterName(String clusterName) {
        this.clusterName = clusterName;
    }

    /**
     * get
     *
     * @return Type
     */
    public String getType() {
        return type;
    }

    /**
     * set
     *
     * @param type type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * get
     *
     * @return UserThresholdList
     */
    public List<Double> getUserThresholdList() {
        return userThresholdList;
    }

    /**
     * set
     *
     * @param userThresholdList userThresholdList
     */
    public void setUserThresholdList(List<Double> userThresholdList) {
        this.userThresholdList = userThresholdList;
    }
}
